package com.yfp.goods.domain.vo;

import com.yfp.common.core.annotation.Excel;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

@Data
public class GoodsExportVO {

    /**
     * 商品id
     */
    @Excel(name = "商品编号")
    @Schema(title = "商品id")
    private String goodsId;

    /**
     * 商品名称
     */
    @Excel(name = "商品名称")
    @Schema(title = "商品名称")
    private String goodsName;

    /**
     * 商品分类名称
     */
    @Excel(name = "商品分类")
    @Schema(title = "商品分类名称")
    private String goodsTypeName;

    /**
     * 成本价
     */
    @Excel(name = "成本价格(元)")
    @Schema(title = "成本价")
    private String costPrice;

    /**
     * 销售价
     */
    @Excel(name = "销售价格(元)")
    @Schema(title = "销售价")
    private String salePrice;

    /**
     * 供应商
     */
    @Excel(name = "供应商")
    @Schema(title = "供应商")
    private String supplier;

    /**
     * 启用1/禁用
     */
    @Excel(name = "商品状态", readConverterExp = "1=启用,0=禁用")
    @Schema(title = "启用1/禁用")
    private Integer enable;

    /**
     * 保质期（天）
     */
    @Excel(name = "质保期(天)")
    @Schema(title = "保质期（天）")
    private Integer expireDay;

    /**
     * 创建时间
     */
    @Excel(name = "创建时间", dateFormat = "yyyy-MM-dd HH:mm:ss")
    @Schema(title = "创建时间")
    private Date createTime;

}
